GET api/tournaments/{tournamentId}/eventbettypes?betTypeIds[0]={betTypeIds[0]}&betTypeIds[1]={betTypeIds[1]}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tournamentId | integer |
Required |
|
| betTypeIds | Collection of integer |
None. |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.Collections.Generic.ListOfBO.Models.Event.EventBetTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of BO.Models.Event.EventBetTypeModel |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": [
{
"id": 1,
"betTypeId": 2,
"name": "sample string 3",
"desc": "sample string 4",
"betTypeExtraInfo": 1,
"betTypeExtraInfo2": 1.0,
"betTypeRuleId": 5,
"betTypeGroupId": 6,
"eventId": 7,
"eventStatusId": 8,
"payoutTypeId": 1
},
{
"id": 1,
"betTypeId": 2,
"name": "sample string 3",
"desc": "sample string 4",
"betTypeExtraInfo": 1,
"betTypeExtraInfo2": 1.0,
"betTypeRuleId": 5,
"betTypeGroupId": 6,
"eventId": 7,
"eventStatusId": 8,
"payoutTypeId": 1
}
],
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfListOfEventBetTypeModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<EventBetTypeModel>
<Id>1</Id>
<BetTypeId>2</BetTypeId>
<Name>sample string 3</Name>
<Desc>sample string 4</Desc>
<BetTypeExtraInfo>1</BetTypeExtraInfo>
<BetTypeExtraInfo2>1</BetTypeExtraInfo2>
<BetTypeRuleId>5</BetTypeRuleId>
<BetTypeGroupId>6</BetTypeGroupId>
<EventId>7</EventId>
<EventStatusId>8</EventStatusId>
<PayoutTypeId>1</PayoutTypeId>
</EventBetTypeModel>
<EventBetTypeModel>
<Id>1</Id>
<BetTypeId>2</BetTypeId>
<Name>sample string 3</Name>
<Desc>sample string 4</Desc>
<BetTypeExtraInfo>1</BetTypeExtraInfo>
<BetTypeExtraInfo2>1</BetTypeExtraInfo2>
<BetTypeRuleId>5</BetTypeRuleId>
<BetTypeGroupId>6</BetTypeGroupId>
<EventId>7</EventId>
<EventStatusId>8</EventStatusId>
<PayoutTypeId>1</PayoutTypeId>
</EventBetTypeModel>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfListOfEventBetTypeModel>